package cn.myzf.plugin.pluginsystem.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


/**
 * @Author: myzf
 * @date: 2021/8/2 10:53
 * @useful: 系统信息服务类
 * @modify: ===================================================
 * modifier            modifytime                description
 * ===================================================
 */
@Controller
public class SystemController {

    @RequestMapping(value = "/")
    public ModelAndView index() {
        ModelAndView modelAndView = new ModelAndView("index");
       return modelAndView;
    }
    @RequestMapping(value = "/system")
    public ModelAndView system() {
        ModelAndView modelAndView = new ModelAndView("system");
        modelAndView.addObject("service", new Service());
      return modelAndView;
    }

}
